/**
 * Copyright 2012 Alfredo "Rainbowbreeze" Morresi
 * 
 * This file is part of Eureka! project.
 * 
 * Eureka! is free software: you can redistribute it and/or modify it under the
 * terms of the GNU General Public License as published by the Free Software
 * Foundation, either version 3 of the License, or (at your option) any later
 * version.
 * 
 * Eureka! is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with Eureka!. If not, see http://www.gnu.org/licenses/.
 */
package it.rainbowbreeze.eureka.domain;

import it.rainbowbreeze.libs.data.RainbowSettableId;

/**
 * @author Alfredo "Rainbowbreeze" Morresi
 */
public class QualityDataPoint implements RainbowSettableId {
    // ------------------------------------------ Private Fields

    // -------------------------------------------- Constructors

    // --------------------------------------- Public Properties
    private long mId;
    private long mCategoryId;
    private long mMeasureId;
    private int mLatitude;  //expressed in microdegrees (degrees * 1E6)
    private int mLongitude;  //expressed in microdegrees (degrees * 1E6)
    private int mRadius;  //expressed in meters
    private int mReferringRadius;
    private int mScore;
    private double mValue;
    private long mReadingTimestamp;
    private long mAcquisitionTimestamp;
    private double mWeight;

    public void setId(long newValue) {
        mId = newValue;
    }
    
    public long getId() {
        return mId;
    }

    public long getMeasureId() {
        return mMeasureId;
    }
    public void setMeasureId(long newValue) {
        mMeasureId = newValue;
    }
    
    public double getWeight() {
        return mWeight;
    }
    public void setWeight(double value) {
        mWeight = value;
    }
    
    public int getLatitude() {
        return mLatitude;
    }
    public void setLatitude(int newValue) {
        mLatitude = newValue;
    }
    
    public int getLongitude () {
        return mLongitude;
    }
    public void setLongitude(int newValue) {
        mLongitude = newValue;
    }
    
    /**
     * Radius, in meters
     */
    public int getRadius() {
        return mRadius;
    }
    public void setRadius(int newValue) {
        mRadius = newValue;
    }
    
    public int getReferringRadius() {
        return mReferringRadius;
    }
    public void setReferringRadius(int newValue) {
        mReferringRadius = newValue;
    }
    
    public int getScore() {
        return mScore;
    }
    public void setScore(int newValue) {
        mScore = newValue;
    }
    
    public double getValue() {
        return mValue;
    }
    public void setValue(double newValue) {
        mValue = newValue;
    }
    
    public long getCategoryId() {
        return mCategoryId;
    }
    public void setCategoryId(long newValue) {
        mCategoryId = newValue;
    }
    
    public long getReadingTimestamp() {
        return mReadingTimestamp;
    }
    public void setReadingTimestamp(long newValue) {
        mReadingTimestamp = newValue;
    }

    public long getAcquisitionTimestamp() {
        return mAcquisitionTimestamp;
    }
    public void setAcquisitionTimestamp(long newValue) {
        mAcquisitionTimestamp = newValue;
    }


    // ------------------------------------------ Public Methods

    // ----------------------------------------- Private Methods

    // ----------------------------------------- Private Classes
}
